<?php
class MAIN_Controller_ActionFront extends MAIN_Controller_Action {
	function init() {
		parent::init();
		if(!class_exists('Zend_Auth'))Zend_loader :: loadClass('Zend_Auth');
		$auth = Zend_Auth :: getInstance();
		$identity = $auth->getIdentity();
		if(!$identity->userid)
			$this->_redirect(APP_URL."/");
	}
}